<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml"
	xmlns:ui="http://java.sun.com/jsf/facelets"
	xmlns:h="http://java.sun.com/jsf/html"
	xmlns:f="http://java.sun.com/jsf/core">

<head>
<title>LoginPage</title>
<link rel="stylesheet" type="text/css" href="./css/bootstrap.min.css" />
</head>
<body>
	<!-- 	<div class="container">
		<h:form styleClass="form-signin">
			<h2 class="form-signing-heading">Please sign in</h2>
			<h:inputText styleclass="form-control"
				value="#{loginController.login}" placeholder="Login" />
			<h:inputSecret styleclass="form-control"
				value="#{loginController.password}" placeholder="Password" />
			<h:commandButton action="#{loginController.validateLogin()}"
				value="Sign in" type="submit" styleClass="btn btn-lg btn-primary btn-block"/>
			<h:commandButton action="reset" value="Reset" type="reset"
				styleClass="btn btn-lg btn-primary btn-block" />
		</h:form>
	</div> -->

	<!-- 	<h:form>
		<p>
			<label>Identifiant :</label>
			<h:inputText value="#{loginController.login}" />
		</p>
		<p>
			<label>Mot de passe :</label>
			<h:inputSecret value="#{loginController.password}" />
		</p>
		<h:commandButton action="#{loginController.validateLogin()}"
			value="Se Connecter" type="submit" styleClass="btn btn-primary" />
		<h:commandButton action="reset" value="Réinitialiser" type="reset"
			styleClass="btn btn-primary" />
	</h:form> -->

	<div class="container">
		<div style="width: 500px; padding-top: 20px;">
			<h2 class="form-signing-heading">Please sign in</h2>
			<h:form class="form-horizontal">
				<div class="form-group">
					<label class="col-sm-2 control-label">Login:</label>
					<div class="col-sm-10">
						<h:inputText value="#{loginController.login}" class="form-control" />
					</div>
				</div>
				<div class="form-group">
					<label class="col-sm-2 control-label">Password:</label>
					<div class="col-sm-10">
						<h:inputSecret value="#{loginController.password}"
							class="form-control" />
					</div>
				</div>
				<div class="form-group">
					<div class="col-sm-offset-2 col-sm-10">
						<h:commandButton action="#{loginController.validateLogin()}"
							type="submit" class="btn btn-primary" value="Sign in" />
					</div>
				</div>
			</h:form>
		</div>
	</div>
</body>
</html>